﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace My3DGame
{
    public class clsExitState : clsStateGame
    {
        public clsExitState(Game1 game1)
        {
        }
        public override void Initialize(My3DGame.Game1 game1)
        {
            game1.Exit();

            base.Initialize(game1);
        }

        public override void Update(Microsoft.Xna.Framework.GameTime gameTime, Game1 game1)
        {
            game1.Exit();

            base.Update(gameTime, game1);
        }

        public override void Draw(Microsoft.Xna.Framework.GameTime gameTime, Game1 game1)
        {
            game1.Exit();

            base.Draw(gameTime, game1);
        }
    }
}
